InvalidParamsException

Kind of class:class
Inherits from:Error
Author:The gotoAndPlay() Team
http://www.smartfoxserver.com
http://www.gotoandplay.it
Classpath:com.smartfoxserver.redbox.exceptions.InvalidParamsException
File last modified:Tuesday, 24 June 2008, 16:41:21
A RedBox exception.

Summary


Constructor
  • InvalidParamsException (message:String)
    • Thrown when invalid parameters are passed to specific RedBox classes methods.

Constructor

InvalidParamsException

function InvalidParamsException (
message:String)

Thrown when invalid parameters are passed to specific RedBox classes methods.
This exception is raised when both enableCamera and enableMicrophone parameters are passed as false to a method involving a camera and/or microphone output stream to be published (live or recorded).
Parameters:
message:
the error message.
Example:
  • The following example shows how to handle the "InvalidParamsException" exception.
    try
    {
        avClipMan.startClipRecording(false, false)
    }
    catch (err:InvalidParamsException)
    {
        trace (err.message)
    }